package edu.zju.gis.dldsj.service;

import edu.zju.gis.dldsj.base.BaseService;
import edu.zju.gis.dldsj.entity.Monitor;
import edu.zju.gis.dldsj.entity.TaskRecord;

import java.util.List;

/**
 * @author yanlo yanlong_lee@qq.com
 * @version 1.0 2018/08/01
 */
public interface TaskRecordService extends BaseService<TaskRecord, String> {
    List<TaskRecord> getByUser(String user);

    List<TaskRecord> getByUserWithState(String user, Monitor.FinalStatus status);

    List<TaskRecord> getByUserWithoutState(String user, Monitor.FinalStatus status);
}
